<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
<html xmlns="http://www.w3.org/1999/xhtml"  
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      >  
    <body>  
        <ui:composition template="./structure.xhtml">  
            <ui:define name="content">  
                <h:form  id="login-form" rendered="#{!utilisateursMBean.isOnline()}">  
                    <ui:include src="login.xhtml" />
                </h:form>
                    <br/><br/><br/>
                <h:form id="inscription-form" rendered="#{!utilisateursMBean.isOnline()}">  
                    <ui:include src="inscription.xhtml"/>
                </h:form>
                <h:panelGroup rendered="#{utilisateursMBean.isOnline()}">
                    <script>window.location="./comptes.xhtml";</script>
                </h:panelGroup>
            </ui:define>  
        </ui:composition>  
    </body>  
</html>